package com.kevin.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PaperQuestionDTO {
    @ApiModelProperty(value = "试卷id")
    private Long id;

    @ApiModelProperty(value = "试题id列表")
    private List<Detail> questionList;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Detail {
        @ApiModelProperty(value = "id")
        private Long id;

        @ApiModelProperty(value = "排序")
        private Integer sort;
    }
}
